package com.fnzn.entranceGuard.mapper.attendance;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.github.pig.admin.model.attendance.AttendanceRecord;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author sxf
 * @since 2018-11-22
 */
public interface AttendanceRecordMapper extends BaseMapper<AttendanceRecord> {

    /**
     * 获取该用户今日打卡数量
     * @param userName
     * @return
     */
    List<AttendanceRecord> getByUserForToday(String userName);
}
